package l.l.test.ThinkingInJava;

/**
 * Created by llw on 2017/12/28.
 */
public class SimpleEnumUse {
    public static void main(String[] args) {
        for (Spiciness s:Spiciness.values()){
            System.out.println(s +", ordinal " + s.ordinal());
        }
    }
}
